<?php



namespace App\Services\Member\Models;
use App\Services\Business\Models\Base;



class UserRedpacketBalance extends Base
{


    protected $table = 'user_redpacket_balance';


    protected $fillable = [
        'title','user_id','receiver_id','balance','remain'
    ];

    public function user()
    {
        return $this->belongsTo(User::class, 'user_id');
    }


    public function receiver()
    {
        return $this->belongsTo(User::class, 'receiver_id');
    }






}
